<ion-view view-title="我的{{user_type}}的订单详情">
	
	<ion-content>
    	<div class="list">
			<li class="item item-divider font-large-my">
				<i class="icon ion-clipboard positive"></i>&nbsp;订单信息
			</li>
			<li class="item padding">
				<p class="font-middle-my">订单号： {{order.order_id}}</p>
				<p class="font-middle-my">订单总额：<span class="assertive">{{order.total_amount | currency:'¥'}}</span></p>
				<p class="font-middle-my">
					订单类型:
					<span class="positive" >{{order.order_type_name}}</span>
				</p>
				<p class="font-middle-my">
					支付方式：
					<!--<span class="assertive" ng-if="order.status=='dead'">未支付</span>-->
					<span class="positive" >{{order.payment}}</span>
					<!--<span class="energized" ng-if="order.pay_status==2">已付款至到担保方</span>
					<span class="calm" ng-if="order.pay_status==3">部分付款</span>
					<span class="royal" ng-if="order.pay_status==3">部分退款</span>
					<span class="assertive" ng-if="order.pay_status==5">全部付款</span>-->
				</p>
				<p class="font-middle-my">运费：{{order.cost_shipping | currency:'¥'}}</p>
				<p class="font-middle-my">创建时间： {{order.createtime}}</p>
			</li>
			
    		<li class="item item-divider font-large-my">
				<i class="icon ion-bag positive"></i>&nbsp;商品信息
			</li>
			<li class="item item-input font-large-my  positive" on-tap="onshow_first()">
    			<i class="icon ion-home"></i>&nbsp;{{order.store_name}} >>
    		</li>
    		<div ng-repeat="goods in order.order_objects">
    			<li class="item item-thumbnail-left" ng-class="{'item-borderless':$first}" style="padding-right:5px;" ><!--该订单有多少个商品-->
			 	<img src="{{goods.image}}" ng-if="goods.image" on-tap="onshow_productdetail(goods.goods_id)"/>
                <img src="{{noImg}}" ng-if="goods.image==''||goods.image==null" on-tap="onshow_productdetail(goods.goods_id)"/>
			 	<p on-tap="onshow_productdetail(goods.goods_id)" style="color: #387EF5;">{{goods.name}}</p>
			 	<p class="font-small-my">{{goods.spec_info}}</p>
			 	<p class="font-middle-my">{{goods.bn}}</p>
			 	<p class="font-middle-my"><span class="assertive">{{goods.price|currency:'￥'}}</span><span class="right-zhang">共<span class="assertive">{{goods.count}}</span>件商品</span></p>
			 	<!--<p class="font-middle-my">
			 		
			 	</p>-->
			</li>
    		</div>
			
    		
    	</div>

	</ion-content>
</ion-view>
